home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / developm / language / pixie.cpt / Pixie Scheme ƒ / Pixie Scheme Help / card_66064.txt < prev    next >
Encoding:
Text File  |  1991-01-07  |  1.5 KB  |  60 lines

  1. -- card: 66064 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2692
  5. -- name: 
  6.  
  7.  
  8. -- part 3 (button)
  9. -- low flags: 00
  10. -- high flags: A003
  11. -- rect: left=393 top=195 right=217 bottom=493
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: Examples
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   go to card id 65199
  23. end mouseUp
  24.  
  25.  
  26.  
  27.  
  28. -- part 4 (button)
  29. -- low flags: 00
  30. -- high flags: A003
  31. -- rect: left=393 top=100 right=122 bottom=493
  32. -- title width / last selected line: 0
  33. -- icon id / first selected line: 0 / 0
  34. -- text alignment: 1
  35. -- font id: 0
  36. -- text size: 12
  37. -- style flags: 0
  38. -- line height: 16
  39. -- part name: Infinities
  40. ----- HyperTalk script -----
  41. on mouseUp
  42.   go to card id 13847
  43. end mouseUp
  44.  
  45.  
  46.  
  47.  
  48. -- part contents for background part 10
  49. ----- text -----
  50.     When a function that expects to return an IEEE 32ΓÇôbit result finds it out of range, it returns an IEEE 32ΓÇôbit infinity, not an IEEE 80ΓÇôbit number  (Exceptions:  "gcd" and "lcm".)  Thus flonums become 80ΓÇôbit by contagion, but rarely by evolution.
  51.  
  52.     Certain operations can be misleading when different types of numbers are involved:  Thus
  53.  
  54.     (= 2e18 #l2e18) => #f
  55.  
  56. because "#l2e18" is exactly 2000000000000000000, whereas 2e18 is merely the best approximation to it that will fit into an IEEE 32ΓÇôbit flonum.
  57.  
  58. -- part contents for background part 47
  59. ----- text -----
  60. 25